package com.maxlen.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maxlen.common.utils.PageUtils;
import com.maxlen.common.utils.R;
import com.maxlen.goods.entity.SpuImagesEntity;

import java.util.List;
import java.util.Map;

/**
 * spu图片
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 09:43:29
 */
public interface SpuImagesService extends IService<SpuImagesEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(Long spuId, List<String> images);

    R getImageByCategoryIdList(List<Long> categoryIds);

    R getImageBySpuIdList(List<Long> spuIds);
}

